package org.x.chatmod.service;

import com.mybatisflex.core.service.IService;

import org.x.chatmod.dto.ChatFriendDTO;
import org.x.chatmod.dto.ChatFriendResponseDTO;
import org.x.chatmod.entity.ChatFriend;
import org.x.chatmod.entity.ChatUser;
import org.x.chatmod.vo.FriendVO;
import org.x.commonmod.config.Result;

import java.util.List;

public interface ChatFriendService extends IService<ChatFriend> {
    List<FriendVO> getFriendList(Long userId);

    ChatUser getFriendInfo(Long userId);

    ChatUser updateUserOnlineStatusByLogin(Long userId);
    Long FriendRequest(ChatFriendDTO chatFriendDTO);
    String response(ChatFriendResponseDTO chatFriendResponseDTO);
    Result deleteFriend(long relationId);
}
